<%--
  Created by IntelliJ IDEA.
  User: Vadim
  Date: 9/16/14
  Time: 9:03 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
<%@ page isELIgnored="false" %>

<html>
<head>
    <title>Login Form</title>
    <link rel="stylesheet" href="../content/style/style.css">
    <script src="../content/scripts/jquery.min.js"></script>

</head>
<body>
<div id="container">
    <div id="header">
        <jsp:include page="/publicpages/common/authorization_header.jsp"/>
    </div>
    <div id="body">
        <form action="/securepages/loginform.do" method="post">
            <div  class="div_center_page">
                <table style="width: 100%;">
                    <colgroup>
                        <col style="width: 30%;">
                        <col style="width: 70%;">
                    </colgroup>
                    <tr>
                        <td colspan="2" style="text-align:center; ">
                            <h3 style="margin-left: 60px; margin-bottom: 15px;" > Enter login </h3>
                        </td>
                        <td>

                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p style="color: darkslateblue;"> <strong> Email:</strong> </p>
                        </td>
                        <td>
                            <input type="text" name="login" value="${param.login}" style="width: 100%;"/>
                            ${ErrorLogin}
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p style="color: darkslateblue;"> <strong>Password: </strong></p>
                        </td>
                        <td>
                            <input type="password" name="password" value="${param.password}" style="width: 100%;"/>
                            ${ErrorPassw}
                        </td>
                    </tr>
                    <tr>
                        <td>

                        </td>
                        <td style="text-align: right;">
                            <input type="submit" value="Login"/>
                            ${Error}
                        </td>
                    </tr>
                </table>
            </div>
        </form>
    </div>
    <div id="footer">
        <jsp:include page="/publicpages/common/footer.jsp"/>
    </div>
</div>
</body>
</html>
